package cn.edu.csust.coursecard.utils.storage;

import com.amazonaws.auth.AWSSessionCredentials;
import com.amazonaws.auth.AWSSessionCredentialsProvider;
import com.amazonaws.util.ValidationUtils;

public class AWSSessionCredentialsProviderImpl implements AWSSessionCredentialsProvider {
    private final AWSSessionCredentials credentials;

    public AWSSessionCredentialsProviderImpl(AWSSessionCredentials credentials) {
        this.credentials = ValidationUtils.assertNotNull(credentials, "credentials");
    }

    @Override
    public AWSSessionCredentials getCredentials() {
        return this.credentials;
    }

    @Override
    public void refresh() {

    }
}
